﻿using System;
using System.IO;

namespace CodeConversion
{
    class Program
    {
        static void Main(string[] args)
        {
            string strAppPath = Directory.GetCurrentDirectory();
            string strSourceDirectory = strAppPath + @"\Source";
            string strReceiveDirectory = strAppPath+ @"\Receive";
            string strSendDirectory = strAppPath + @"\Sended";
            if (!Directory.Exists(strReceiveDirectory))
                Directory.CreateDirectory(strReceiveDirectory);
            if (!Directory.Exists(strSendDirectory))
                Directory.CreateDirectory(strSendDirectory);
            if (!Directory.Exists(strSourceDirectory))
                Directory.CreateDirectory(strSourceDirectory);

            Console.WriteLine(string.Format("报文接收目录：{0}", strReceiveDirectory));
            Console.WriteLine(string.Format("已发送报文目录：{0}", strSendDirectory));
            Console.WriteLine(string.Format("原始报文目录：{0}", strSourceDirectory));
        }
    }
}
